<template>
  <view class="content">
    <view class="p-l-r-32">
      <view class=" flex">
        <view class="image" style="padding: 22rpx 0;">
          <image :src="arrayGet(data,'sealInfo.member_seal_images_url')"
                 style="width: 116rpx;height: 116rpx;border-radius: 10rpx;margin-right: 24rpx;"
                 @click="previewImage(data.sealInfo.member_seal_images_url)"></image>
        </view>
        <view class="right" style="margin-top: 28rpx;">
          <view class="title" style="margin-bottom: 24rpx;">印章名称</view>
          <view class="time" style="color: rgba(0,0,0,0.4);">{{ arrayGet(data, 'sealInfo.member_seal_title', '') }}</view>
        </view>
      </view>
      <u-cell-group>
        <u-cell size="large" :value="data.sealInfo.member_seal_summary" title="印章简介"></u-cell>
      </u-cell-group>

    </view>
  </view>
</template>

<script setup>
import {sealdetail} from "../../../../api/module/mine.js";
import {reactive, onBeforeMount, ref} from "vue"
import {onLoad, onShow} from "@dcloudio/uni-app";
import {arrayGet} from "../../../../utils/common";
import {previewImage} from "../../../../utils/article/fileRead";

const urls = ref('')
const data = reactive({
  sealInfo: {}
})
onLoad((options) => {
  sealdetail({member_seal_id: options.id}).then(res => {
    data.sealInfo = res
  })
})
</script>

<style lang="scss" scoped>


</style>